//
//  RACSignal+XHHTTPServiceAdditions.h
//  XHNetwork
//
//  Created by xinph on 2020/3/11.
//  Copyright © 2020 xinph. All rights reserved.
//

#import <ReactiveObjC/ReactiveObjC.h>

NS_ASSUME_NONNULL_BEGIN

// Convenience category to retreive parsedResults from XHHTTPResponses.
@interface RACSignal (XHHTTPServiceAdditions)

// This method assumes that the receiver is a signal of XHHTTPResponses.
//
// Returns a signal that maps the receiver to become a signal of
// XHHTTPResponses.parsedResult.
- (RACSignal *)xh_parsedResults;

@end

NS_ASSUME_NONNULL_END
